<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        #1222 {
            height: 1000px;
            width: 100px;
            background-color: red;
        }

        #2 {
            width: 100px;
            height: 1000px;
            background-color: black;
        }
    </style>
</head>

<body>
    <a href="#two">dianji</a>
    <div id="1222">one</div>
    <div id="2">two</div>
</body>

</html>